package com.ruoyi.drugGMT.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品信息对象 yaopinxinxi
 * 
 * @author ruoyi
 * @date 2024-04-24
 */
public class Yaopinxinxi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    private Date addtime;

    /** 药品编号 */
    @Excel(name = "药品编号")
    private String yaopinbianhao;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String yaopinmingcheng;

    /** 药品分类 */
    @Excel(name = "药品分类")
    private String yaopinfenlei;

    /** 剂型 */
    @Excel(name = "剂型")
    private String jixing;

    /** 费用 */
    @Excel(name = "费用")
    private Long feiyong;

    /** 开药时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开药时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date kaiyaoshijian;

    /** 医生工号 */
    @Excel(name = "医生工号")
    private String yishenggonghao;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String yishengxingming;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String yonghuzhanghao;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String yonghuxingming;

    /** 是否支付 */
    @Excel(name = "是否支付")
    private String ispay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setYaopinbianhao(String yaopinbianhao) 
    {
        this.yaopinbianhao = yaopinbianhao;
    }

    public String getYaopinbianhao() 
    {
        return yaopinbianhao;
    }
    public void setYaopinmingcheng(String yaopinmingcheng) 
    {
        this.yaopinmingcheng = yaopinmingcheng;
    }

    public String getYaopinmingcheng() 
    {
        return yaopinmingcheng;
    }
    public void setYaopinfenlei(String yaopinfenlei) 
    {
        this.yaopinfenlei = yaopinfenlei;
    }

    public String getYaopinfenlei() 
    {
        return yaopinfenlei;
    }
    public void setJixing(String jixing) 
    {
        this.jixing = jixing;
    }

    public String getJixing() 
    {
        return jixing;
    }
    public void setFeiyong(Long feiyong) 
    {
        this.feiyong = feiyong;
    }

    public Long getFeiyong() 
    {
        return feiyong;
    }
    public void setKaiyaoshijian(Date kaiyaoshijian) 
    {
        this.kaiyaoshijian = kaiyaoshijian;
    }

    public Date getKaiyaoshijian() 
    {
        return kaiyaoshijian;
    }
    public void setYishenggonghao(String yishenggonghao) 
    {
        this.yishenggonghao = yishenggonghao;
    }

    public String getYishenggonghao() 
    {
        return yishenggonghao;
    }
    public void setYishengxingming(String yishengxingming) 
    {
        this.yishengxingming = yishengxingming;
    }

    public String getYishengxingming() 
    {
        return yishengxingming;
    }
    public void setYonghuzhanghao(String yonghuzhanghao) 
    {
        this.yonghuzhanghao = yonghuzhanghao;
    }

    public String getYonghuzhanghao() 
    {
        return yonghuzhanghao;
    }
    public void setYonghuxingming(String yonghuxingming) 
    {
        this.yonghuxingming = yonghuxingming;
    }

    public String getYonghuxingming() 
    {
        return yonghuxingming;
    }
    public void setIspay(String ispay) 
    {
        this.ispay = ispay;
    }

    public String getIspay() 
    {
        return ispay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("yaopinbianhao", getYaopinbianhao())
            .append("yaopinmingcheng", getYaopinmingcheng())
            .append("yaopinfenlei", getYaopinfenlei())
            .append("jixing", getJixing())
            .append("feiyong", getFeiyong())
            .append("kaiyaoshijian", getKaiyaoshijian())
            .append("yishenggonghao", getYishenggonghao())
            .append("yishengxingming", getYishengxingming())
            .append("yonghuzhanghao", getYonghuzhanghao())
            .append("yonghuxingming", getYonghuxingming())
            .append("ispay", getIspay())
            .toString();
    }
}
